package net.studou.po;

import java.util.Date;

/**
 * UserPopedom entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class UserPopedom implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4876731214934427870L;
	// Fields

	private Integer userPopedomId;
	private User user;
	private Popedom popedom;
	private Date endTime;
	private Integer status;

	// Constructors

	/** default constructor */
	public UserPopedom() {
	}

	/** full constructor */
	public UserPopedom(Integer userPopedomId, User user, Popedom popedom,
			Date endTime, Integer status) {
		this.userPopedomId = userPopedomId;
		this.user = user;
		this.popedom = popedom;
		this.endTime = endTime;
		this.status = status;
	}

	// Property accessors

	public Integer getUserPopedomId() {
		return userPopedomId;
	}

	public void setUserPopedomId(Integer userPopedomId) {
		this.userPopedomId = userPopedomId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Popedom getPopedom() {
		return this.popedom;
	}

	public void setPopedom(Popedom popedom) {
		this.popedom = popedom;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}